<script setup>
import Header from './header'
import textShow from './header/otherContainer/textShow.vue'
</script>

<template>
    <div class="common">
        <el-container class="container">
            <el-header>
                <Header class="home-header"/>
            </el-header>
            <textShow/>
            <el-main>
                <RouterView/>
            </el-main>

            <el-backtop :right="50" :bottom="50"/>
        </el-container>
    </div>
</template>

<style scoped lang="scss">
.common {
  height: 100vh;
  .el-header {
    width: 100%;
    padding: 0;
  }

  .el-main {
    width: 1200px;
    height: auto;
    margin: 0 auto;
  }
}

</style>